Skip to content

fix(analyzers): 降低 Core、Cqrs、Godot 与生成器的构建警告#252

Merged
GeWuYou merged 7 commits into
mainfrom
fix/analyzer-warning-reduction-batch-1
Apr 18, 2026
Merged

fix(analyzers): 降低 Core、Cqrs、Godot 与生成器的构建警告#252
GeWuYou merged 7 commits into
mainfrom
fix/analyzer-warning-reduction-batch-1

Conversation

@GeWuYou
Copy link
Copy Markdown
Owner

@GeWuYou GeWuYou commented Apr 18, 2026

  • 清理 GFramework.Core 与 GFramework.Cqrs 中的大量低风险 Meziantou 警告

  • 修复 GFramework.Godot 运行时中的 ConfigureAwait、StringComparison 与参数校验告警

  • 调整 Core SourceGenerators 中的字符串比较、文件命名与局部长方法问题

  • 拆分部分配置与缓存辅助类型文件以消除 file/type mismatch 告警

  • 更新 warning reduction 跟踪与执行记录,保留下一批结构性告警的恢复点

Summary by CodeRabbit

  • 性能优化

    • 大量异步路径改为不捕获同步上下文(ConfigureAwait(false)),提升并发与响应性
  • 可靠性提升

    • 统一确定性字符串比较与不受区域影响的数值/时间格式解析,修正键/名称匹配与本地化查找行为
  • 日志系统增强

    • 新增可配置的追加器与过滤器配置选项,改进格式化与时间戳输出,改进工厂/取用策略
  • 小幅 API 更新

    • 多处同步 Apply() 重命名为 ApplyAsync();改进诊断输出与文档说明
  • 测试

    • 新增与调整若干单元测试以覆盖新行为与错误路径

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant